<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>${user.uiNice}个人中心</title>
<%@include file="../../WEB-INF/include/includecss.jsp"%>
</head>
<body>
	<%@include file="../../WEB-INF/include/includemenu.jsp"%>

	<div class="container theme-showcase container-fixed-top" role="main">
		<div class="row">
			<h1>个人中心</h1>
			<div class="col-sm-4">
				<div class="panel panel-warning">
					<div class="panel-heading">
						<h3 class="panel-title">个人信息</h3>
					</div>
					<div class="panel-body">
						<div class="row">
							昵称:${user.uiNice}<br /> 邮箱:${user.uiEmail}<br />
							个人说明：${user.uiNote } <br /> <a href="userInfo.jsp">修改资料</a>
						</div>
					</div>
				</div>

			</div>
			<div class="col-sm-4">
				<div class="panel panel-warning">
					<div class="panel-heading">
						<h3 class="panel-title">发表的书评</h3>
					</div>
					<div class="panel-body">
						<div class="row">
							<ul>
								<c:forEach items="${bookReviewsList}" var="bookReview">
									<li>
									<p style="word-wrap: break-word;">
									<a href="${pageContext.request.contextPath}/BookReviewServlet?brvID=${bookReview.bookReviewsSimple }">
									
									
									${bookReview.bookReviewSimpleTitle }
									</a>
									</p>
									</li>
										
								</c:forEach>
							</ul>
						</div>
					</div>
				</div>
			</div>
			<div class="col-sm-4">
				<!-- 
				<div class="panel panel-warning">
					<div class="panel-heading">
						<h3 class="panel-title">收藏的书籍</h3>
					</div>
					<div class="panel-body">
						<div class="row">
							<a href="/BookReview/">一只红星在哪里</a>
						</div>
					</div>
				</div>
				 -->
			</div>
		</div>
		<div class="row">
			<!-- 
			<div class="col-sm-4">
				<div class="panel panel-warning">
					<div class="panel-heading">
						<h3 class="panel-title">推荐书籍</h3>
					</div>
					<div class="panel-body">
						<div class="row">
							<a href="/BookReview/">一只红星在哪里</a>
						</div>
					</div>
				</div>
			</div>
		-->
		</div>
	</div>

	<%@ include file="../../WEB-INF/include/bottom.jsp"%>
</body>
</html>